<template>
	<view> 
		<web-view :src="url" @message="getMessage"></web-view> 
	</view> </template><script>export default {	data() {		return {			url: '', 		};	},	onLoad(e) { 
		if(e.url){
			this.url = e.url
		} 
		if(e.type == 'serve'){
			this.url = uni.getStorageSync('openWebViewUrl')
		}	},	methods: {		getMessage(event) {			uni.showModal({				content: JSON.stringify(event.detail),				showCancel: false			});		}	}};</script><style> </style>
